"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MysqlDb = (function () {
    function MysqlDb() {
    }
    MysqlDb.prototype.add = function (info) {
        console.log(info);
        return true;
    };
    MysqlDb.prototype.updated = function (info, id) {
        console.log(info);
        console.log(id);
        return true;
    };
    return MysqlDb;
}());
var User = (function () {
    function User() {
    }
    return User;
}());
var u = new User();
u.username = '张三';
u.password = '12344';
var Db = new MysqlDb();
Db.add(u);
var ArticleCate = (function () {
    function ArticleCate(params) {
        this.title = params.title;
        this.desc = params.desc;
        this.status = params.status;
    }
    return ArticleCate;
}());
var a = new ArticleCate({
    title: '分类',
    desc: '12345'
});
var Db2 = new MysqlDb();
Db2.updated(a, 12);
